package com.yingxin.yxerp.module.organization.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserPasswordUpdateVo {

    private String id;

    @ApiModelProperty(value = "旧密码")
    @NotBlank(message = "旧密码")
    private String oldPassword;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码")
    private String password;

    @ApiModelProperty(value = "确认密码")
    @NotBlank(message = "确认密码")
    private String confirmPassword;

}
